<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tab导航栏设计</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f8f8;
            color: #333;
        }
        .container {
            max-width: 414px;
            margin: 20px auto;
            background: white;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .header {
            text-align: center;
            padding: 15px;
            font-size: 18px;
            font-weight: 500;
            border-bottom: 1px solid #f0f0f0;
        }
        .content {
            padding: 20px;
            height: calc(100vh - 130px);
            overflow-y: auto;
        }
        .tabbar {
            position: fixed;
            bottom: 0;
            width: 100%;
            max-width: 414px;
            height: 50px;
            background: white;
            display: flex;
            border-top: 1px solid #f0f0f0;
        }
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #999;
        }
        .tab-item.active {
            color: #333;
        }
        .tab-icon {
            font-size: 24px;
            margin-bottom: 2px;
        }
        .tab-text {
            line-height: 1;
        }
        .demo-section {
            margin-bottom: 30px;
        }
        h2 {
            font-size: 18px;
            margin-bottom: 15px;
            font-weight: 500;
        }
        .demo-tabbar {
            display: flex;
            background: white;
            height: 50px;
            margin-bottom: 20px;
            border: 1px solid #eee;
            border-radius: 4px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">Tab导航栏设计</div>
        <div class="content">
            <div class="demo-section">
                <h2>标准Tab导航</h2>
                <div class="demo-tabbar">
                    <div class="tab-item active">
                        <div class="tab-icon">🏠</div>
                        <div class="tab-text">首页</div>
                    </div>
                    <div class="tab-item">
                        <div class="tab-icon">🔍</div>
                        <div class="tab-text">功能中心</div>
                    </div>
                    <div class="tab-item">
                        <div class="tab-icon">👤</div>
                        <div class="tab-text">个人中心</div>
                    </div>
                </div>
            </div>
            
            <div class="demo-section">
                <h2>选中状态</h2>
                <div class="demo-tabbar">
                    <div class="tab-item">
                        <div class="tab-icon">🏠</div>
                        <div class="tab-text">首页</div>
                    </div>
                    <div class="tab-item active">
                        <div class="tab-icon">🔍</div>
                        <div class="tab-text">功能中心</div>
                    </div>
                    <div class="tab-item">
                        <div class="tab-icon">👤</div>
                        <div class="tab-text">个人中心</div>
                    </div>
                </div>
            </div>
            
            <div class="demo-section">
                <h2>设计说明</h2>
                <ul>
                    <li>采用极简设计风格，只保留必要的视觉元素</li>
                    <li>使用图标+文字的组合方式，提高识别度</li>
                    <li>选中状态通过颜色变化进行区分，不使用过多装饰</li>
                    <li>图标选用简洁、易识别的线性图标</li>
                    <li>文字使用小号字体(12px)，保持整体轻量感</li>
                </ul>
            </div>
        </div>
        
        <div class="tabbar">
            <div class="tab-item active">
                <div class="tab-icon">🏠</div>
                <div class="tab-text">首页</div>
            </div>
            <div class="tab-item">
                <div class="tab-icon">🔍</div>
                <div class="tab-text">功能中心</div>
            </div>
            <div class="tab-item">
                <div class="tab-icon">👤</div>
                <div class="tab-text">个人中心</div>
            </div>
        </div>
    </div>
</body>
</html>